<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>axios基本使用</title>
</head>

<body>

  <script src="./js/axios.min.js"></script>
  <script>
    axios.get('http://127.0.0.1:3000/adata').then((res) => {
      console.log(res)
    })
  </script>
</body>

</html>